package com.chinasoft.class5.group3;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Chenwenyao  implements TrueWord {
    List<String> wordList = new ArrayList<String>();

    public Chenwenyao() {
        wordList.add("今天吃什么 ！");
        wordList.add("上号 ！");
        wordList.add("该学习了 ！");
    }


    public String getName() {
        return "陈文瑶";
    }

    public String getWord() {
        Random random = new Random();
        int index = random.nextInt(wordList.size());
        return this.wordList.get(index);
    }
}
